<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use App\BaseModel as Eloquent;

/**
 * Class BankReceiveAccount
 * 
 * @property int $id
 * @property int $hall_id
 * @property int $bank_id
 * @property string $name
 * @property string $card
 * @property string $address
 * @property int $total_amount
 * @property int $total_max_limit
 * @property int $day_amount
 * @property int $day_max_limit
 * @property int $once_min_limit
 * @property int $once_max_limit
 * @property int $day_warning_limit
 * @property int $sort
 * @property string $level_ids
 * @property string $qrcode
 * @property bool $is_visible
 * @property string $remark
 * @property int $status
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class BankReceiveAccount extends Eloquent
{
	protected $table = 'bank_receive_account';

	protected $casts = [
		'hall_id' => 'int',
		'bank_id' => 'int',
		'total_amount' => 'int',
		'total_max_limit' => 'int',
		'day_amount' => 'int',
		'day_max_limit' => 'int',
		'once_min_limit' => 'int',
		'once_max_limit' => 'int',
		'day_warning_limit' => 'int',
		'sort' => 'int',
		'is_visible' => 'bool',
		'status' => 'int'
	];

	protected $fillable = [
		'hall_id',
		'bank_id',
		'name',
		'card',
		'address',
		'total_amount',
		'total_max_limit',
		'day_amount',
		'day_max_limit',
		'once_min_limit',
		'once_max_limit',
		'day_warning_limit',
		'sort',
		'level_ids',
		'qrcode',
		'is_visible',
		'remark',
		'status'
	];
}
